package conson.tech.manage.api.activity.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * ClassName: ReceiveTicketForm
 * Description:
 * Author: HXL
 * Date: 2020/5/22 2:46 下午
 * Version: 1.0
 */
@Data
public class ReceiveTicketForm implements Serializable {
    private static final long serialVersionUID = 1796067350332095764L;
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    /** 用户手机号 */
    @NotBlank(message = "用户手机号不能为空")
    private String userMobile ;
    @NotNull(message = "票券集合不能为空")
    private List<Long> ticketRecordList;
}
